package com.xyyhome.web.love.domain;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Collection;
import java.util.List;

/**
 * Created by ty850 on 2017/6/3.
 */
public interface YLDynamicCommentRepository extends JpaRepository<YLDynamicComment, String> {

    /**
     * 通过动态id查找该动态的所有评论
     * @param ids 动态id集合
     * @return 评论
     */
    public List<YLDynamicComment> findByYldcDynamicIdIn(Collection<String> ids);
}
